/**
 * 定位相关
 */

const state = {
	current_city_name: '定位中...',
	show_locate: true, // 是否需要定位
}

const actions = {};

const mutations = {
	setCity(state, cityname){
		state.current_city_name = cityname;
	},
	resetLocation(state){
		state.show_locate=false;
	},
}

export default {
    namespaced: true,
    state,
    actions,
    mutations
} 